Introduction

System enumeration is a crucial, typically first, step in the enumeration phase of post-exploitation.

Enumerating the Distribution Version

cat /etc/issue

Enumerating Linux Kernel Version Information

uname -a

cat /proc/version

Enumerating CPU Architecture

lscpu

Enumerating Running Services

ps aux

File System Enumeration

List files owned by a certain user in a directory:

find <dir> -user <user name> 2>/dev/null

List files owned by a certain user in a directory (without /proc):

find <dir> -user <user name> 2>/dev/null | grep -v "/proc"

List files owned by a certain group in a directory:

find <dir> -group <group name> 2>/dev/null
find <dir> -group <group name> 2>/dev/null | grep -v "/proc" # ignore /proc